<?php
	$_SESSION = array();
	session_destroy();
	$url = $_SERVER["HTTP_REFERER"] ? $_SERVER["HTTP_REFERER"] : '/';
	setcookie ("remember", "", time() - 3600, "/");
	header("location: $url");
	exit;
?>